<?php
/**
 * api 中间件
 * @author yupoxiong<i@yupoxiong.com>
 */

$config = [];
if (env('school.allow_cross_domain')) {
	$config = [
		\app\school\middleware\AllowCrossDomain::class,
	];
}

return $config;